#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
namespace Cephei.QL.Models.Marketmodels.Models
{
    /// <summary> 
	/// 
	/// </summary>
    [Guid ("F1E3A50B-A927-45c1-873D-852023F1BB24"),ComVisible(true)]
	public interface IPiecewiseConstantVariance 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.Core.IVector<Double> RateTimes {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double TotalVariance(UInt64 i);
        /// <summary> 
		/// 
		/// </summary>
		 Double TotalVolatility(UInt64 i);
        /// <summary> 
		/// 
		/// </summary>
		 Double Variance(UInt64 i);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.Core.IVector<Double> Variances {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.Core.IVector<Double> Volatilities {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double Volatility(UInt64 i);
    }   

    /// <summary> 
	///  Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IPiecewiseConstantVariance_Factory : INativeCollection_Factory<IPiecewiseConstantVariance>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary>
        /// Create a hybrid Vector of IPiecewiseConstantVariance, with event notification of changes
        /// </summary>
        /// <returns>a new Vector&ltIPiecewiseConstantVariance&gt</returns>
        IVector<IPiecewiseConstantVariance> CreateVector();
        /// <summary>
        /// Create a hybrid Vector of ICell of IPiecewiseConstantVariance, with event notification of changes
        /// </summary>
        /// <returns>a new ICell&ltIVector&ltI&ltIPiecewiseConstantVariance&gt&gt&gt</returns>
        ICoCell<IVector<ICoCell<IPiecewiseConstantVariance>>> CreateCellVector();
        IVector<IPiecewiseConstantVariance> CreateVector (IEnumerable<IPiecewiseConstantVariance> source);
        ICoCell<IVector<ICoCell<IPiecewiseConstantVariance>>> CreateCellVector (IEnumerable<ICoCell<IPiecewiseConstantVariance>> source);
    }
}

